Repository navigation
fix(pricing): add 2027-01-06 deprecation_date to OpenAI TTS models - #44113
benlangfeld wants to merge 2 commits into
Conversation
OpenAI has notified API customers that tts-1, tts-1-hd and gpt-4o-mini-tts (all snapshots) shut down on January 6, 2027. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NE8CmK9bPvVUvzB53cGDNQ
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NE8CmK9bPvVUvzB53cGDNQ
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Thanks, these four TTS deprecation dates are verified and now included in the rolling registry PR #44175, so closing this one |
Co-authored-by: Ben Langfeld <210221+benlangfeld@users.noreply.github.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* fix(cost-map): add OpenAI TTS and GPT-5.x deprecation dates Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * chore(cost-map): credit OpenAI TTS deprecation dates from #44113 Co-authored-by: Ben Langfeld <210221+benlangfeld@users.noreply.github.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Ben Langfeld <210221+benlangfeld@users.noreply.github.com>
TLDR
Problem this solves:
tts-1,tts-1-hdandgpt-4o-mini-ttson 2027-01-06deprecation_datefor any of themHow it solves it:
"deprecation_date": "2027-01-06"to all seven OpenAI TTS entriesUser Flow
Before: someone checking LiteLLM's model metadata for upcoming retirements doesn't see the OpenAI TTS shutdown
gpt-4o-mini-ttsentry inmodel_prices_and_context_window.jsondeprecation_date, so nothing warns them about the shutdownAfter: the same check shows the shutdown date
gpt-4o-mini-ttsentry"deprecation_date": "2027-01-06", matching OpenAI's noticeRelevant issues
OpenAI announced the shutdown by email to API customers. It isn't on OpenAI's deprecations page yet, and other customers have reported the same email.
Pre-Submission checklist
tests/unit/test_openai_tts_deprecation_date.pychecks the date on every entry in both cost maps, and that main and backup matchScreenshots / Proof of Fix
This is a metadata-only change with no request path to exercise end to end. The proof is the new test, run at the merge base and at this PR's tip.
Before (1e75147)
pytest -q --noconftest tests/unit/test_openai_tts_deprecation_date.py14 failed, 7 passed: every entry is missingdeprecation_dateAfter (c760c9a)
pytest -q --noconftest tests/unit/test_openai_tts_deprecation_date.py21 passedType
🐛 Bug Fix
Caveats (if any)
Low
azure/*TTS entries are unchanged; they already carry Azure's own retirement dates--noconftestwas used locally becausetests/unit/conftest.pyneeds boto3, which this test doesn't use🤖 Generated with Claude Code